package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityCardInfo;
import com.ocom.common.vo.payconfig.UpdatecardStateVo;

//卡信息
public interface XfCardInfoService extends IService<EntityCardInfo> {

    // 查询卡信息（getCardInfo）
    public EntityCardInfo GetCardInfo(Long comId, String accountNo);


    public EntityCardInfo GetCardInfoByPid(Long comId, Long pId);


    EntityCardInfo selectCount(Long comId, String cardNo);

    Integer selectCardCount(Long comId, Long pId);

    Integer selectAccountNo(Long comId, String accountNo);

    void AddCardInfo(Long comId, EntityCardInfo entityCardInfo);

    Boolean UpdatecardState(Long comId, UpdatecardStateVo updatecardStateVo);

    void updateCardInfo(Long comId, Long pId, EntityCardInfo entityCardInfo);

}
